package study.websocket;

import java.io.IOException;

import cn.hutool.json.JSONUtil;
import study.websocket.entity.vo.ApiAccessVo;


public class Demo {
    public static void main(String[] args) throws IOException {

        ApiAccessVo patchNoInfoVO = new ApiAccessVo();
        patchNoInfoVO.setId("1");
        patchNoInfoVO.setMsg_type("get_unfinish" +
                "ed_task");
        patchNoInfoVO.setServicecode("public_serv");
        String msg = JSONUtil.parse(patchNoInfoVO).toString();
//        SessionManager.sendMessageToClient(msg);
    }
}
